export const day01_04 = () => {
    const type = 0 // 0 1 2
    const getType = () => {
        if (type === 0) {
            return <div>无图模式</div>
        } else if (type === 1) {
            return <div>单图模式</div>
        } else if (type === 2) {
            return <div>双图模式</div>
        }
    }
    return (
        <div>
            <h3>04_复杂条件渲染</h3>
            <div>{getType()}</div>
        </div>
    )
}
